import request from '@/utils/request'

// 查询圆柱屏交互列表
export function listAppCylinderScreen(query) {
  return request({
    url: '/app/appCylinderScreen/list',
    method: 'get',
    params: query
  })
}

// 查询圆柱屏交互详细
export function getAppCylinderScreen(id) {
  return request({
    url: '/app/appCylinderScreen/' + id,
    method: 'get'
  })
}

// 新增圆柱屏交互
export function addAppCylinderScreen(data) {
  return request({
    url: '/app/appCylinderScreen',
    method: 'post',
    data: data
  })
}

// 修改圆柱屏交互
export function updateAppCylinderScreen(data) {
  return request({
    url: '/app/appCylinderScreen',
    method: 'put',
    data: data
  })
}

// 删除圆柱屏交互
export function delAppCylinderScreen(id) {
  return request({
    url: '/app/appCylinderScreen/' + id,
    method: 'delete'
  })
}

export function checkAppCylinderScreen(id, checkStatus) {
  return request({
    url: '/app/appCylinderScreen/check?id=' + id+'&checkStatus='+checkStatus,
    method: 'get'
  })
}
